﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Linq;
using NHibernate.Linq.Functions;

namespace Portal
{
    public class MyLinqToHqlGeneratorsRegistry : DefaultLinqToHqlGeneratorsRegistry
    {
        public MyLinqToHqlGeneratorsRegistry()
        {
            RegisterGenerator(ReflectionHelper.GetMethodDefinition(
                () => MyLinqExtensions.IsLike(null, null)), new IsLikeGenerator());
        }
    }
}
